package cn.edu.xmist.supermarket.mhy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/*
*主页 控制
* */
@Controller
@RequestMapping({"/index", "/"})
public class IndexController {

  @RequestMapping
  public String index() {
    return "index";
  }

  @RequestMapping("/chanpin")
  public String ware() {
    return "Chanpin";
  }

  @RequestMapping("/shangdian")
  public String house() {
    return "Shangdian";
  }

  @RequestMapping("/gongys")
  public String Gongys() {
    return "Gongys";
  }

  @RequestMapping("/login")
  public String login() {
    return "login";
  }
}
